package com.cloudpolice.door.feignInterface.hystric;

import com.cloudpolice.door.feignInterface.EquipmentInterFace;
import lh.model.ResultVO;
import lh.units.ResultStruct;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author ：梁昊，后端工程师：flyman5，前端工程师：孙耀
 * @create 2020-02-29 17:16
 * @function
 * @editLog
 */
@Service
public class EquipmentInterFaceHystric implements EquipmentInterFace {
    private final String hystricMessage = "亲，服务器正忙，请稍后再戳。";

    @Override
    public ResultVO selectEquipmentSiteBySn(@RequestParam(value = "sn") String sn) {
        return ResultStruct.error(hystricMessage, ResultVO.class, null);
    }

    @Override
    public ResultVO SelectEquipmentBySn(@RequestParam(value = "id") String id
            , @RequestParam(value = "stopSign", required = false, defaultValue = "0") boolean stopSign) {
        return ResultStruct.error(hystricMessage, ResultVO.class, null);
    }

    @Override
    public ResultVO SelectEquipmentBySnAndMac(@RequestParam(value = "id") String id
            , @RequestParam(value = "mac") String mac) {
        return ResultStruct.error(hystricMessage, ResultVO.class, null);
    }
}
